package com.zenith.edu.po.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zenith.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("edu_course_class")
@Schema(name = "EduCourseClass", description = "课程班级关系实体")
public class EduCourseClass extends BaseEntity {
    
    @Schema(description = "课程ID")
    private Long courseId;
    
    @Schema(description = "班级ID")
    private Long classId;
    
    @Schema(description = "授课教师ID")
    private Long teacherId;
    
    @Schema(description = "学期：2025-S1")
    private String term;
    
    @Schema(description = "开课日期")
    private LocalDate startDate;
    
    @Schema(description = "结课日期")
    private LocalDate endDate;
    
    @Schema(description = "状态：1-正常 2-禁用")
    private Integer status;
}